import request from '@/router/axios';

export const getList = (params) => {
    return request({
        url: '/api/mes-abacus/statMroCenterProduct/page-query-maintenance-ng-record',
        method: 'get',
        params: params
    });
};

export const getDetail = (params) => {
    return request({
        url: '/api/mes-abacus/statMroCenterProduct/page-query-maintenance-ng-record-detail',
        method: 'get',
        params: params
    });
};

export const getNgPhenomenon = (params) => {
    return request({
        url: '/api/mes-abacus/statMroCenterProduct/maintenance-ng-phenomenon-summary',
        method: 'get',
        params: params
    });
};

export const getNgCause = (params) => {
    return request({
        url: '/api/mes-abacus/statMroCenterProduct/maintenance-ng-cause-summary',
        method: 'get',
        params: params
    });
};